-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MET-685: Add new parameters #15
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
'https://gateway.irys.xyz/8da3Er9Q39QRkdNhBNP7w5hDo5ZnydLNxLqe9i6s1Nak', | ||
// TODO: Needs to be added again after MTG-1380 is merged | ||
// description: '', | ||
// external_url: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still a TODO? Can you confirm whether its merged/deployed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is blocked by MTG-1493
I’d propose to merge it with that to do and fix it in one of the agreed follow up PRs
// Assert the asset exists and has group_definition | ||
t.truthy(specificAsset, 'Expected to find the specific asset'); | ||
if (specificAsset) { | ||
t.is( | ||
(specificAsset as any).group_definition, | ||
undefined, | ||
'Expected group_definition to be undefined when showUnverifiedCollections is true' | ||
); | ||
} | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this one supposed to be the case where the collection is shown but just as unverified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the test coverage as I see it:
Method | showUnverifiedCollections: true |
showUnverifiedCollections: false |
showCollectionMetadata: true |
showFungible: true |
onlyVerified: true |
onlyVerified: false |
---|---|---|---|---|---|---|
getAsset |
✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
getAssets |
✅ | ❌ | ✅ | ✅ | ❌ | ❌ |
getAssetsByAuthority |
✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
getAssetsByCreator |
✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
getAssetsByGroup |
✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
getAssetsByOwner |
✅ | ❌ | ✅ | ✅ | ❌ | ❌ |
searchAssets |
✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
Looks like everything is covered to some degree except showInscription
which maybe is fine if we don't easily have those assets to test with.
Adding displayOptions for